package net.maku.framework.security.mobile;

import org.springframework.security.authentication.dao.DaoAuthenticationProvider;

/**
 * 手机短信登录 AuthenticationProvider
 *
 * @author 阿沐 babamu@126.com
 * <a href="https://maku.net">MAKU</a>
 */
public class PcAuthenticationProvider extends DaoAuthenticationProvider {

    @Override
    public boolean supports(Class<?> authentication) {
        return PcAuthenticationToken.class.isAssignableFrom(authentication);
    }
}
